
package com.hlkj.pay.app.merchant.ext.impl.dffpay.dto;

import com.hlkj.framework.common.util.json.JsonUtils;
import lombok.Data;

/**
 * @author HlpayTeam
 * @date 2024/09/26 11:23
 */
@Data
public class DffPayConfig {
    /**
     * 应用sappId
     */
    private String sappId;

    /**
     * 商户appSecKey
     */
    private String appSecKey;
    
    /**
     * 服务商私钥
     */
    private String mchPrivateKey;
    
    /**
     * 易生公钥
     */
    private String publicKey;

    /**
     * 二级商户号
     */
    private String subMchId;

    public static void main(String[] args) {
        String json="{\"orgCode\":\"08A9999999\",\"rsaPrivateKey\":\"123112321\",\"rsaPublicKey\":\"123112321\",\"domain\":\"123112321\"}";
        System.out.println(JsonUtils.parseObject(json, DffPayConfig.class));
    }
    
}
